15. Endpoints & REST APIs

Quiz on Endpoints & REST APIs

First let's make sure you understand the language associated with your model deployment.

QUIZ QUESTION: :

In the previous section, you learned that the endpoint is the interface that allows for communication between the model and the application .

Match the Python Program feature that best represents the Machine Learning Deployment feature below.

ANSWER CHOICES:



Machine Learning Deployment Feature

Python Program Feature

Python Function's Returned Value

Python Function

Constant Variable

Python Function's Argument

Python Program

Python Function Call

Pseudocode

List

SOLUTION:

Machine Learning Deployment Feature

Python Program Feature

Python Function's Returned Value

Python Function

Python Function's Argument

Python Program

Python Function Call

Question 2

Next let's make sure you are comfortable with the web language that is associated with how your model application and the software application communicate with one another.

QUIZ QUESTION: :

For each statement, match the phrase that best completes it.

ANSWER CHOICES:



Statements

Missing Phrases

POST

HTTP response

GET

user's data

CSV format

CSV or JSON format

predictions

PUT

JSON format

HTTP request

SOLUTION:

Statements

Missing Phrases

POST

HTTP response

user's data

CSV or JSON format